-- GENERATED SPELL FOR [Shadow Revenant] --


function spell0_30872(pUnit, Event) --@Strangulate,n/a--
pUnit:FullCastSpellOnTarget(51131,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30872', 5000, 1)
end

function Sorts_30872(pUnit, Event)
local choix_sorts_30872 = math.random(0, 0)
if choix_sorts_30872 == 0 then
pUnit:RegisterEvent('spell0_30872', 1, 1)
end
end

function mob30872_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30872', math.random(1500, 3000), 1)
end

function mob30872_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30872_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30872_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30872, 1, 'mob30872_Action')
RegisterUnitEvent(30872, 2, 'mob30872_Leave')
RegisterUnitEvent(30872, 3, 'mob30872_Kill')
RegisterUnitEvent(30872, 4, 'mob30872_Die')
